package com.cloudfast.email;

import com.cloudfast.email.text.EmailMessage;

/**
 * 邮件发送类
 * 
 * @author liuyw
 * @date 2022-10-22
 */
public interface JEmailSender {

	/**
	 * 发送普通文本邮箱
	 * 
	 * @param emailMessage 邮件内容
	 * 
	 */
	public boolean sendTextMail(EmailMessage emailMessage);

	/**
	 * 发送html文本邮箱
	 * 
	 * @param emailMessage 邮件内容
	 */
	public boolean sendHtmlMail(EmailMessage emailMessage);
}
